#ifndef LYAPPLOGTOOL_ERRORINFO_H
#define LYAPPLOGTOOL_ERRORINFO_H
#define SUCCESS 1
#define FAILED -1

class ErrorInfo {
public:
    ErrorInfo(int errCode, const char *errMsg);

    const char *errMsg;
    int errCode;
};

#endif
